package com.erastep.pojo;

import java.util.List;
import java.util.Map;

/**
 * @category消息传输过程中每一行的实体对应类
 * @author DXB
 * 
 */
public class DataColumn {

	/**
	 * @category 当前行执行类型（增、删、改、查）
	 */
	private int status;
	/**
	 * @category 操作对应的实体类
	 */
	private String pojo;
	/**
	 * @category 是否需要返回数据列表
	 */
	private boolean isresult;
	/**
	 * @category 需要返回的字段名
	 */
	private String result;
	/**
	 * @category 返回客户端的结果集
	 */
	private List<Map<String, Object>> datas;
	/**
	 * @category 条件属性集合
	 */
	private Map<String, String> properties;
	/**
	 * @category 执行影响行数
	 */
	private int changes;

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getPojo() {
		return pojo;
	}

	public void setPojo(String pojo) {
		this.pojo = pojo;
	}

	public boolean isIsresult() {
		return isresult;
	}

	public void setIsresult(boolean isresult) {
		this.isresult = isresult;
	}

	public Map<String, String> getProperties() {
		return properties;
	}

	public void setProperties(Map<String, String> properties) {
		this.properties = properties;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public int getChanges() {
		return changes;
	}

	public void setChanges(int changes) {
		this.changes = changes;
	}

	public List<Map<String, Object>> getDatas() {
		return datas;
	}

	public void setDatas(List<Map<String, Object>> datas) {
		this.datas = datas;
	}

}
